package com.imb.auth.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author xiaozhi 2023/8/4
 */
@Data
public class RegisterBo implements Serializable {

    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(value = "用户名")
    private String user;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码")
    private String pass;

    @NotBlank(message = "确认密码不能为空")
    @ApiModelProperty(value = "确认密码")
    private String formPass;
}
